package com.csair.irp.job.file.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = DataFileProperties.PREFIX)
@Data
public class DataFileProperties {
    public final static String PREFIX = "datafile";

    /** 临时目录 */
    private String tmpdir;

    /** 文件留底目录 */
    private String backupdir;

    /** 数据文件入库一页数据大小 */
    private int dataInsertPageSize;

    private FileManagerProperties fileManager;

    private TaskProperties task;

}
